diff -Naur qtoctave-0.8.1/qtoctave/src/search_dialog.cpp qtoctave-0.8.1.new/qtoctave/src/search_dialog.cpp
--- qtoctave-0.8.1/qtoctave/src/search_dialog.cpp	2008-09-21 05:00:30.000000000 -0400
+++ qtoctave-0.8.1.new/qtoctave/src/search_dialog.cpp	2009-07-31 09:04:20.000000000 -0400
@@ -1,3 +1,4 @@
+#include <cstdio>
 #include "search_dialog.h"
 
 SearchDialog::SearchDialog(QWidget *parent): QDialog(parent)
